/*
 *    Copyright (c) 2018-2025, workdata All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: workdata
 */

package com.workcell.workdata.xthings.entity;


import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.workcell.workdata.xthings.constant.ExtOutputAttributes;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 码库天然气信息表
 *
 * @author pigx code generator
 * @date 2023-06-08 11:01:38
 */
@Data
@TableName("t_code_natural_gas")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "码库天然气信息表")
public class CodeNaturalGas extends Model<CodeNaturalGas> {

    private static final long serialVersionUID = 1L;

    /**
     * 二维码信息ID
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value="二维码信息ID")
    private String codeId;

    /**
     * 天然气设备ID
     */
    @ApiModelProperty(value="天然气设备ID")
    private String valveId;

    /**
     * 厂家设备编号
     */
    @ApiModelProperty(value="厂家设备编号")
    private String deviceNo;

    /**
     * 短链码
     */
    @ApiModelProperty(value="短链码")
    private String chainNum;

    /**
     * 设备名称
     */
    @ExtOutputAttributes(key = "设备名称")
    @ApiModelProperty(value="设备名称")
    private String name;

    /**
     * 厂商名称
     */
    @ExtOutputAttributes(key = "厂商名称")
    @ApiModelProperty(value="厂商名称")
    private String manufacturer;

    /**
     * 产品类型
     */
    @ExtOutputAttributes(key = "产品类型")
    @ApiModelProperty(value="产品类型")
    private String dcProductType;

    /**
     * 型号
     */
    @ExtOutputAttributes(key = "型号")
    @ApiModelProperty(value="型号")
    private String dcModel;

    /**
     * 状态
     */
    @ExtOutputAttributes(key = "状态")
    @ApiModelProperty(value="状态")
    private String state;

    /**
     * 创建人
     */
    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value="创建人")
    private String createBy;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value="创建时间")
    private LocalDateTime createTime;

    /**
     * 更新人
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value="更新人")
    private String updateBy;

    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value="更新时间")
    private LocalDateTime updateTime;

    /**
     * 厂商编码
     */
    @ExtOutputAttributes(key = "厂商编码")
    @ApiModelProperty(value="厂商编码")
    private String manufacturerCode;

}
